<app-tip [type]="tipType"></app-tip>
<!-- 遮罩 -->
<app-load *ngIf="isLoading"></app-load>
<div>
  <header class="flex">
    <div class="left" [routerLink]="['/main/index']"  id="btn-back">
      <div><i class="fas fa-chevron-left"></i></div>
    </div>
    <div class="center"><span>修改密码</span></div>
    <div class="right"></div>
  </header>
</div>

<div class="main">

  <div class="item flex">
    <div class="left"><i class="fa fa-lock"></i></div>
    <div class="right"><input type="password" class="c-select" placeholder="请输入旧密码" [(ngModel)]="pwd.old_pwd"></div>
  </div>
  <div class="item flex">
    <div class="left"><i class="fa fa-unlock-alt"></i></div>
    <div class="right"><input type="password" class="c-select" placeholder="请输入新密码" [(ngModel)]="pwd.login_pwd"></div>
  </div>
  <div class="item flex">
    <div class="left"><i class="fa fa-unlock-alt"></i></div>
    <div class="right"><input type="password" class="c-select" placeholder="请再次输入新密码" [(ngModel)]="pwd.login_pwd1"></div>
  </div>

  <div class="forget-pwd" style="margin-top: 2em;text-align: right">
    <span [routerLink]="['/forgot-pwd-step1']"><i class="fa fa-question-circle"></i> 忘记密码</span>
  </div>

  <div class="btn" style="margin-top: 2em" *ngIf="submitType">
    <div class="btn-submit" (click)="submitData()">确认修改</div>
  </div>
</div>
